from src.routers.ESRITpk.esri_tpk import ESRITpk
from src.routers.ESRITpk.esri_tpk_tile import ESRITpk_tile

def BuildESRITpkRouter(api):
    api.add_resource(ESRITpk, '/<string:servicename>/MapServer', '/<string:servicename>/MapServer/0') # 返回的MapServer.json
    api.add_resource(ESRITpk_tile, '/<string:servicename>/MapServer/tile/<int:level>/<int:row>/<int:column>')
